* {
    font-size: clamp(16px, 2.5vmin, 24px);
}

html {
    font-size: 100%;
    height: 100%;
}

body {
    background-color: #fff7ef;
    color: #5e5755;
    /* color: #90897d; */
    min-height: 100%;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.fill {
    flex-grow: 1;
}

.headnav {
    background-color: #e1ac9a;
    position: fixed;
    z-index: 1;
    width: 100%;
}

.headnav>.container-fluid {
    margin: 0 7.5vw;
}

.headnav>.container-fluid>button {
    margin-bottom: 0;
    margin-top: 0;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: #e1ac9a;
    color: white !important;
}

.navbar-brand {
    font-size: max(16px, 2.5vmin);
}

a,
a:hover,
a:focus,
.nav-link,
.nav-link:hover {
    color: #5b5b5b !important;
    white-space: nowrap;
}

.nav-link {
    padding: .2rem 1rem;
}

.navbar-toggler {
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: unset;
}

.nav-tabs {
    border-bottom: 0px;
}

span.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.container {
    margin-top: 90px;
}

.bgtable {
    background-color: #fffcfa;
    /* border: 1px solid #E1AC9A; */
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.container>.row>.col {
    padding: 2rem 3rem;
}

table {
    width: 100% !important;
    /* margin-top: 25px !important;
    margin-bottom: 25px !important; */
    margin: 25px 0px !important;
}

.dt-layout-table,
.scroll {
    overflow-x: auto;
}

.scroll>table>thead>tr>th,.scroll>table>tbody>tr>td{
    padding: 8px 10px;
}

thead>tr {
    border: 2px solid #e1ac9a;
    border-left: 0px;
    border-right: 0px;
}

tbody>tr {
    border: 1px solid #e1ac9a;
    border-left: 0px;
    border-right: 0px;
}

.evidence {
    min-width: 210px;
}

button {
    border: 0px;
    /* margin-top: 10px; */
    margin-bottom: 10px;
    outline: none;
}

.btn-primary {
    background-color: #e1ac9a;
    border: 0px;
}

.btn-primary:hover {
    background-color: #db9880;
    border: 0px;
}

a>button,
td>button {
    margin-top: unset;
    margin-bottom: unset;
    background-color: unset;
    color: #5e5755;
}

.footer {
    background-color: #D9CDC8;
    height: 2rem;
    margin-top: 50px;
}

input {
    border: 0px;
    border-bottom: 1px solid;
    outline: none;
    font-size: unset;
}

select {
    flex: 1;
    border: 0px;
    border-bottom: 1px solid;
    outline: none;
}

.pdiv {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.file {
    border: 0px;
}

input[type="file"]::file-selector-button {
    background-color: unset;
    border-radius: 10px;
    margin: 5px;
    border: 1px solid #5b5b5b;
}

p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.pdiv>p {
    min-width: 14rem;
    text-align: start;
}

input[readonly] {
    cursor: not-allowed;
    color: rgb(104, 104, 104);
}

.display {
    display: flex;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 90%;
}

/* 10.28 */
.modal-content {
    padding: 0 2rem;
}

.modal-header {
    border-bottom: 1px solid #E1AC9A;
    padding: 2.5vmin 1vmin;
}

.modal-title {
    color: #E1AC9A;
}

.modal-footer {
    border: 0;
}

.card {
    padding: 0 2rem;
    border-radius: 10px;
}

.card-header {
    background-color: unset;
    border-bottom: 1px solid #E1AC9A;
    font-weight: bold;
}

.btn {
    padding: .1rem .75rem;
}

.modal-body>div>div>.btn {
    padding-left: 1vmin;
    padding-right: 1vmin;
    margin-left: 2px;
    margin-right: 2px;
    height: auto;
}

.account>.form-control {
    min-width: unset;
}

.form-control {
    overflow-y: auto;
    margin-bottom: 10px;
    min-width: 7.625rem;
    min-height: 1rem;
}

h5 {
    font-size: unset;
}

.col-1,
.col3,
.col-5,
.col-8 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}





#map {
    height: 50vmin;
    /* width: 100%; */
}

#map2 {
    height: 300px;
}

.leaflet-map-pane {
    /* left: 50%;
    top: 50%; */
    height: 100%;
    width: 100%;
}

/* datatable */
div.dt-container .dt-paging .dt-paging-button {
    padding: unset;
}

.dt-paging-button {
    margin-top: unset;
    margin-bottom: unset;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
    border: 0px;
    background: unset;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.sorting_1,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.sorting_1,
table.dataTable td.dt-type-date {
    text-align: unset;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: unset;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    white-space: nowrap;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
    border-bottom: unset;
}


/* 麵包屑=================================== */
.cd-breadcrumb.custom-separator li>a::after {
    content: ">";
    height: 16px;
    width: 16px;
    vertical-align: middle;
}

.cd-breadcrumb li,
.cd-multi-steps li {
    display: inline-block;
}

ol {
    text-align: left;
    padding: unset;
}

.nopadding {
    padding: 0px !important;
}

.cd-breadcrumb>li>a {
    text-decoration: none;
}

/* 麵包屑=================================== */